import request from "../utils/request";
const API = import.meta.env.VITE_PROXY_API;

/**
 * @description ping
 */
export function ping(params: any) {
    return request({
        url: `${API}ping`,
        method: 'GET',
        params
    });
}

/**
 * @description pong
 */
export function pong(data: any) {
    return request({
        url: `${API}pong`,
        method: 'POST',
        data
    });
}
